package com.mall.common.core.model.entity;

import com.mall.common.core.model.supers.Convert;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * Redis存储用户登录信息
 * </p>
 *
 * @author Sam
 * @since 2020-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class LoginInfo extends Convert {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */

    private String id;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 登陆名
     */
    private String loginName;

    /**
     * token
     */
    private String token;


}
